package com.jackson.springaop.service;

/*
 * Author: JacksonCoder
 * FileName: UserService
 * Version: 1.0.0
 * Date: 2025/6/25
 */

import com.jackson.springaop.aspect.LogExecution;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @LogExecution
    public int getUserById() {
        System.out.println("获取用户信息");
        return 2048;
    }

    @LogExecution
    public String selectUserName() {
        System.out.println("获取用户名");
        return "JacksonCoder";
    }

}
